package com.blue.exame.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName exam_records
 */
@TableName(value ="exam_records")
@Data
public class ExamRecords implements Serializable {
    /**
     * 记录唯一标识
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 考生ID
     */
    private Integer userId;

    /**
     * 考试ID
     */
    private Integer examId;

    /**
     * 考试得分
     */
    private Integer score;

    /**
     * 交卷时间
     */
    private Date submitTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}